package com.kc.data.common.domain.order.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * 商品订单退款表
 */
@Data
@TableName(value = "kc_goods_order_refund")
public class BizGoodsOrderRefund {
    @TableId
    /*主键id*/
    private Integer id;
    /*订单id*/
    private Integer orderId;
    /*商品id*/
    private Integer goodsId;
    /*退款订单号*/
    private String refundNo;
    /*订单商品价格*/
    private Double goodsPrice;
    /*商品数量*/
    private Integer goodsNum;
    /*退款金额*/
    private Double refundMoney;
    /*退款原因*/
    private String refundReason;
    /*退款备注*/
    private String refundRemark;
    /*退款凭证*/
    private String refundImage;
    /*物流名称*/
    private String expresscom;
    /*物流号*/
    private String expresssn;
    /*物流拼音*/
    private String express;
    /*物流凭证*/
    private String expressImage;
    /*退款时间*/
    private String refundTime;
    /*退款回调数据*/
    private String refundPayData;
    private Integer status;
    /*用户id*/
    private Integer userId;
    /*商户id*/
    private Integer merchid;
    /*商户类型*/
    private Integer merchType;
    private Date createTime;
    /*退款方式*/
    private Integer refundType;
    /*退回收件人*/
    private String consignee;
    /*退回联系电话*/
    private String mobile;
    /*退回地址*/
    private String delivery;
    /* 拒绝原因 */
    private Integer refuseRefundReason;
    /* 拒绝说明 */
    private String refuseDetails;
    /* 拒绝退款图片凭证 */
    private String refuseImgs;
    /*关闭时间*/
    private String closeDate;
    /*订单状态*/
    private Integer orderStatus;
    private Integer isShareBill;
    public BizGoodsOrderRefund(){}
    public BizGoodsOrderRefund(Integer orderId, Integer goodsId, String refundNo, Double goodsPrice, Integer goodsNum, Double refundMoney, String refundReason, String refundRemark, String refundImage, Integer userId, Integer orderStatus, Integer isShareBill) {
        this.orderId = orderId;
        this.goodsId = goodsId;
        this.refundNo = refundNo;
        this.goodsPrice = goodsPrice;
        this.goodsNum = goodsNum;
        this.refundMoney = refundMoney;
        this.refundReason = refundReason;
        this.refundRemark = refundRemark;
        this.refundImage = refundImage;
        this.userId = userId;
        this.orderStatus = orderStatus;
        this.isShareBill = isShareBill;
    }
}
